﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;

namespace JaxDug.Areas.CodeCamp.Models
{
    public class Attendee
    {
        [Display(Name = "First Name"), Required, StringLength(50)]
        public string FirstName { get; set; }
        [Display(Name = "Last Name"), Required, StringLength(50)]
        public string LastName { get; set; }
        [Required, StringLength(100), RegularExpression(".+\\@.+\\..+", ErrorMessage = "Please enter a valid email")]
        public string Email { get; set; }
        public string ShirtSize { get; set; }
    }
}